package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 报警对象 alarm_data
 * 
 * @author zly
 * @date 2023-07-14
 */
@ApiModel("报警数据")
public class AlarmData1 extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @ApiModelProperty("id")
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long id;

    /** 设备名称 */
    @ApiModelProperty("设备名称")
    @Excel(name = "设备名称")
    private String equipName;

    /** sn序号 */
    @ApiModelProperty("sn序号")
    @Excel(name = "sn序号")
    private String snNum;

    /** 行政区域id */
    @ApiModelProperty("行政区域id")
    @Excel(name = "行政区域id")
    private Long regionId;

    /** 行政区域 */
    @ApiModelProperty("行政区域")
    @Excel(name = "行政区域")
    private String region;

    /** 详细地址 */
    @ApiModelProperty("设备地址")
    @Excel(name = "详细地址")
    private String address;

    /** 触发器ID */
    @ApiModelProperty("触发器id")
    @Excel(name = "触发器ID")
    private Long trigerId;

    /** 触发器名称 */
    @ApiModelProperty("触发器名称")
    @Excel(name = "触发器名称")
    private String trigerName;

    /** 报警数据 */
    @ApiModelProperty("报警数据")
    @Excel(name = "报警数据")
    private BigDecimal warningValue;

    /** 阈值 */
    @ApiModelProperty("阈值")
    @Excel(name = "阈值")
    private BigDecimal threshold;

    /** 数据类型 */
    @ApiModelProperty("数据类型")
    @Excel(name = "数据类型")
    private String dataType;

    /** 处理状态 */
    @ApiModelProperty("处理状态")
    @Excel(name = "处理状态")
    private String handleState;

    /** 设备状态 */
    @ApiModelProperty("设备状态")
    @Excel(name = "设备状态")
    private String status;

    /** 处理人*/
    @ApiModelProperty("处理人")
    @Excel(name = "处理人")
    private String handlePeople;

    /** 备注 */
    @ApiModelProperty("备注")
    @Excel(name = "备注")
    private String notes;

    /** 处理图片 */
    @ApiModelProperty("处理图片")
    @Excel(name = "处理图片")
    private String handlePicture;

    /**
     * 处理时间
     */
    @ApiModelProperty("处理时间")
    private Date handleTime;
    @ApiModelProperty("开始时间")
    private Date startTime;
    @ApiModelProperty("结束时间")
    private Date endTime;

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setEquipName(String equipName) 
    {
        this.equipName = equipName;
    }

    public String getEquipName() 
    {
        return equipName;
    }
    public void setSnNum(String snNum) 
    {
        this.snNum = snNum;
    }

    public String getSnNum() 
    {
        return snNum;
    }
    public void setRegionId(Long regionId) 
    {
        this.regionId = regionId;
    }

    public Long getRegionId() 
    {
        return regionId;
    }
    public void setRegion(String region) 
    {
        this.region = region;
    }

    public String getRegion() 
    {
        return region;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setTrigerId(Long trigerId) 
    {
        this.trigerId = trigerId;
    }

    public Long getTrigerId() 
    {
        return trigerId;
    }
    public void setTrigerName(String trigerName) 
    {
        this.trigerName = trigerName;
    }

    public String getTrigerName() 
    {
        return trigerName;
    }
    public void setWarningValue(BigDecimal warningValue) 
    {
        this.warningValue = warningValue;
    }

    public BigDecimal getWarningValue() 
    {
        return warningValue;
    }
    public void setThreshold(BigDecimal threshold) 
    {
        this.threshold = threshold;
    }

    public BigDecimal getThreshold() 
    {
        return threshold;
    }
    public void setDataType(String dataType) 
    {
        this.dataType = dataType;
    }

    public String getDataType() 
    {
        return dataType;
    }
    public void setHandleState(String handleState) 
    {
        this.handleState = handleState;
    }

    public String getHandleState() 
    {
        return handleState;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setHandlePeople(String handlePeople) 
    {
        this.handlePeople = handlePeople;
    }

    public String getHandlePeople() 
    {
        return handlePeople;
    }
    public void setNotes(String notes) 
    {
        this.notes = notes;
    }

    public String getNotes() 
    {
        return notes;
    }
    public void setHandlePicture(String handlePicture) 
    {
        this.handlePicture = handlePicture;
    }

    public String getHandlePicture() 
    {
        return handlePicture;
    }

    public Date getHandleTime() {
        return handleTime;
    }

    public void setHandleTime(Date handleTime) {
        this.handleTime = handleTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("equipName", getEquipName())
            .append("snNum", getSnNum())
            .append("regionId", getRegionId())
            .append("region", getRegion())
            .append("address", getAddress())
            .append("trigerId", getTrigerId())
            .append("trigerName", getTrigerName())
            .append("warningValue", getWarningValue())
            .append("threshold", getThreshold())
            .append("dataType", getDataType())
            .append("handleState", getHandleState())
            .append("createTime", getCreateTime())
            .append("status", getStatus())
            .append("handlePeople", getHandlePeople())
            .append("notes", getNotes())
            .append("handlePicture", getHandlePicture())
            .append("handleTime", getHandleTime())
            .toString();
    }
}
